BitApps\FM\Providers\PermissionsProvider C

Total Complexity 123
Dependencies 7
Dependents 2
Total lines 550
Lines of code 345
Logical lines of code 156
Comment lines 67
Methods 46
Properties 5

Methods 46

Method Rating Maintainability Complexity Lines of code
getGuestPermissions()
A
53 8 25
getPermissions()
A
56 8 19
currentUserCanRun()
A
56 8 17
getPath()
S
56 7 17
getPublicRootPathByCriteria()
S
61 7 11
getDisabledCommand()
S
60 5 13
getEnabledCommand()
S
60 5 13
getUserDisplayName()
S
63 5 10
currentUserRole()
S
69 4 6
mappedUsers()
S
61 3 12
permittedUserIds()
S
68 3 7
isRequestForAdminArea()
S
68 3 7
getPathByFolderOption()
S
65 3 10
getURL()
S
69 3 6
currentUser()
S
70 3 6
__construct()
S
61 2 12
allCommands()
S
59 1 17
getFolderOption()
S
78 2 3
permittedUsers()
S
74 2 4
isRequestForShortcode()
S
68 2 7
allUsers()
S
71 2 6
isCurrentRoleHasPermission()
S
69 2 7
isCurrentUserHasPermission()
S
69 2 7
currentUserName()
S
71 2 6
currentUserID()
S
71 2 6
isCommonFolderEnabled()
S
78 2 3
isDisabledForAdmin()
S
75 2 4
getPublicRootPath()
S
73 2 5
getEnabledFileType()
S
76 2 4
getPublicRootURL()
S
73 2 5
addByUser()
S
68 2 7
removeByUser()
S
70 2 6
getMaximumUploadSize()
S
75 2 4
defaultPermissions()
S
59 1 14
allRoles()
S
82 1 3
getVolumeAlias()
S
81 1 3
getPublicRootPathForUser()
S
79 1 3
updatePermissionSetting()
S
79 1 3
permissionsForCurrentRole()
S
80 1 3
getPublicRootPathForRole()
S
79 1 3
getByRole()
S
79 1 3
permissionsForCurrentUser()
S
80 1 3
getByUser()
S
79 1 3
refresh()
S
72 1 6
getDefaultPublicRootURL()
S
82 1 3
getDefaultPublicRootPath()
S
82 1 3